<div class="modal fade" id="editar_categoria" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		  <div class="modal-dialog">
		    <div class="modal-content">
		      <div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
		        <h4 class="modal-title" id="myModalLabel">Editar categories</h4>
		      </div>
		      <div class="modal-body">

				<div class="row">
					<div class="form-group">
						<label class="col-sm-2 " for="inputEmail3">Nova</label>
						<div class="col-sm-6">
							<div class="input-group">
								<input type="text" class="form-control" id="nova_categoria" style="min-width:300px;"></input>
							</div>
						</div>
						<div class="col-sm-2" style="margin-left:0.5em">
							 <span class="input-group-btn">
								<button type="button" class="btn btn-success" onclick="javascript:crear_categoria();"> Crear</button>
							  </span>
						</div>
					</div>
				</div>
				</p>
				<div class="row">
			      	 <div class="form-group">
						<label class="col-sm-2 " for="inputEmail3">Modificar</label>
						<div class="col-sm-6">
							<div class="input-group">
								<select class="form-control" id="select_editar_categorias" onclick="javascript:select_editar_categorias();" style="min-width:300px;"></select>
								 
							</div>
						</div>
						<div class="col-sm-2" style="margin-left:0.5em">
							 <span class="input-group-btn">
								<button type="button" class="btn btn-info" onclick="javascript:editar_categoria();"> Editar</button>
							  </span>
							  <span class="input-group-btn" >
								<button type="button" class="btn btn-danger" onclick="javascript:eliminar_categoria();"> Eliminar</button>
							  </span>
						</div>
					</div>
				</div>
		      </div>
		      <div class="modal-footer">
		        <button type="button" class="btn btn-default" data-dismiss="modal">Tancar</button>
		      </div>
		    </div>
		  </div>
		</div>